;; #coding: utf-8
;; use dired
(require 'dired)
(require 'dired-x) 
(add-hook 'dired-mode-hook 
	  (lambda ()
            ;;(setq dired-omit-files 
	    ;;   (concat dired-omit-files "\\|\\.pyc$"))
	    (setq dired-omit-extensions '(".svn/" ".pyc" 
					  ".pyo" ".orig"
					  "~"))
	    ;; Set dired-x buffer-local variables here.  For example:
            (dired-omit-mode 1)
	    ;; Enable toggling of uninteresting files.
	    (setq dired-omit-files-p t)
	    ))

(provide 'custom-dired)
